package com.lightboat.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lightboat.system.domain.CrmLogisticsTrack;

import java.util.List;

/**
 * 物流轨迹日志Service接口
 * 
 * @author lightboat
 * @date 2025-08-30
 */
public interface ICrmLogisticsTrackService  extends IService<CrmLogisticsTrack> {
    /**
     * 查询物流轨迹日志
     * 
     * @param trackId 物流轨迹日志主键
     * @return 物流轨迹日志
     */
    public CrmLogisticsTrack selectCrmLogisticsTrackByTrackId(Long trackId);

    /**
     * 查询物流轨迹日志列表
     * 
     * @param crmLogisticsTrack 物流轨迹日志
     * @return 物流轨迹日志集合
     */
    public List<CrmLogisticsTrack> selectCrmLogisticsTrackList(CrmLogisticsTrack crmLogisticsTrack);

    /**
     * 新增物流轨迹日志
     * 
     * @param crmLogisticsTrack 物流轨迹日志
     * @return 结果
     */
    public int insertCrmLogisticsTrack(CrmLogisticsTrack crmLogisticsTrack);

    /**
     * 修改物流轨迹日志
     * 
     * @param crmLogisticsTrack 物流轨迹日志
     * @return 结果
     */
    public int updateCrmLogisticsTrack(CrmLogisticsTrack crmLogisticsTrack);

    /**
     * 批量删除物流轨迹日志
     * 
     * @param trackIds 需要删除的物流轨迹日志主键集合
     * @return 结果
     */
    public int deleteCrmLogisticsTrackByTrackIds(Long[] trackIds);

    /**
     * 删除物流轨迹日志信息
     * 
     * @param trackId 物流轨迹日志主键
     * @return 结果
     */
    public int deleteCrmLogisticsTrackByTrackId(Long trackId);
}
